package DTO;

import java.io.Serializable;
import java.util.List;

/**
 * DTO that represents Train entity
 */
public class TrainDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private int trainID;

	private int places;

	private int trainNumber;

	private List<ScheduleDTO> schedules;

	public TrainDTO() {
	}

	public int getTrainID() {
		return this.trainID;
	}

	public void setTrainID(int trainID) {
		this.trainID = trainID;
	}

	public int getPlaces() {
		return this.places;
	}

	public void setPlaces(int places) {
		this.places = places;
	}

	public int getTrainNumber() {
		return this.trainNumber;
	}

	public void setTrainNumber(int trainNumber) {
		this.trainNumber = trainNumber;
	}

	public List<ScheduleDTO> getSchedules() {
		return this.schedules;
	}

	public void setSchedules(List<ScheduleDTO> schedules) {
		this.schedules = schedules;
	}
}